@import '@/app/styles/variables';

.card {
  display: flex;
  padding: 32px;
  align-items: flex-start;
  gap: 32px;
  align-self: stretch;

  border-radius: 32px;
  border: 1px solid var(--Simple-Gray-Day, #e1e1e1);
}
.side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  flex: 1 0 0;

  color: var(--Simple-Night, #000);
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 30px; /* 150% */
}

.tag {
  display: flex;
  padding: 12px 32px;
  align-items: center;
  gap: 5.5px;
  border-radius: 50px;

  color: var(--Simple-Morning, #fff);
  text-align: center;

  font-size: 20px;
  font-style: normal;
  font-weight: 100;
  line-height: 20px; /* 100% */
}
.myth {
  background: #fe753e;
}
.truth {
  background: #1bc47d;
}

.children {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  align-self: stretch;
}

.icon {
  height: 128px;
  width: 128px;
  display: flex;
  flex-direction: column;
}

@include media(sm) {
  .card {
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: stretch;

    border-radius: 16px;
    border: 1px solid var(--Simple-Gray-Day, #e1e1e1);
  }
  .icon {
    position: relative;
    height: 64px;
    width: 64px;
    svg {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(calc(64 / 128));
    }
  }
  .tag {
    color: var(--Simple-Morning, #fff);
    text-align: center;

    font-size: 16px;
    font-style: normal;
    font-weight: 100;
    line-height: 14px; /* 87.5% */

    display: flex;
    padding: 8px 16px;
    align-items: center;

    border-radius: 50px;
  }
  .side {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;

    font-size: 16px;
    line-height: 22px; /* 137.5% */
  }
}
